package com.zbkj.common.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalTime;

/**
 * 店铺营业时间表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "店铺营业时间", description = "店铺营业时间表")
public class EbGroupBuyShopBusinessHoursRequest implements Serializable {

    private static final long serialVersionUID = -7436779782556693377L;
    @ApiModelProperty(value = "店铺营业时间ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "店铺ID")
    private Long shopId;

    @ApiModelProperty(value = "营业星期：1,2,3,4,5,6,7,对应星期几")
    private Integer dayOfWeek;

    @ApiModelProperty(value = "开始时间")
    private LocalTime openTime;

    @ApiModelProperty(value = "结束时间")
    private LocalTime closeTime;
}
